package cn.comtom.ewbs.signature.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.github.yulichang.base.MPJBaseMapper;

import cn.comtom.ewbs.signature.entity.SysPermission;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author liuhy
 * @since 2022-11-04 18:07:24
 */
@Mapper
public interface SysPermissionMapper extends MPJBaseMapper<SysPermission> {
	
	 /**
	  * 根据用户id查询出用户的所有权限
	  * @param userId
	  * @return
	  */
	 List<SysPermission> findAllByUserId(String userId);

}
